<!DOCTYPE html>
<html>
<head>
	<title>%title Dai</title>
</head>
	<style>
	*{
		margin: 0px;
		padding: 0px;
		font-family: Microsoft Yahei;
	}
	#container{
		margin: 0px auto;
		width: 560px;
	}
	#container h3{
		text-align: center;
		color: #333;
		padding: 20px;
	}
	#container h6{
		padding: 10px;
	}
	#container h6 span{
		float: right;
	}
	#container p{
		padding: 10px;
		color: #999;
	}
	.con:nth-child(odd){
		background:#F2F2F2;
	}
	.con:nth-child(even){
		background:#fff;
	}
	form{
		margin: 20px;
	}
	.name{
		border: 0px;
		width: 150px;
		height: 20px;
		margin-right: 20px;
	}
	.message{
		border: 0px;
		width: 150px;
		height: 20px;
		margin-right: 20px;
	}
	.load{
		width: 45px;
	}
	</style>
<body style="background-color: #eee">
	<div id="container">
		<h3>留言板</h3>
		<hr/>
		<form method="POST" action="/addmessage">
			昵称: <input class="name" type="text" name="author">
			内容: <textarea class="message" type="text" name="message"></textarea>
			<input class="load" type="submit" name="留言">
		</form>
		%main	
</body>
	</html>